package com.ruoyi.system.service;


import com.ruoyi.common.core.domain.entity.CustomerUser;
import com.ruoyi.common.core.domain.entity.LoginVO;

public interface ICustomerLoginUserService {
    // 1. 登录
    boolean login(LoginVO loginUser);

    // 2. 注册
    boolean register(CustomerUser customerUser);

    // 3.授权
    int authorization(Long userId, Long roleId);

    // 4.通过手机号获取客户ID
    Long getCustomerIdByPhone(String phoneNumber);
}
